<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Dr. Oetker - Canada</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link href="img/logo.ico" rel="shortcut icon" />
    <script src="js/globals.js"></script>
    <script src="js/CSSLoader.js"></script>
    <script src='js/vendor/modernizr-2.6.2.min.js'></script>
    <script src='js/vendor/jquery-1.9.1.min.js'></script>
    <script>
        $(document).ready(function(){
            $(".droe-select .caption").click(function(e){
                e.stopPropagation();
                var x = $(this).parent();
                x.find(".content").toggle(100);

            });
            $(".droe-select .row").click(function(){
                var caption = $(this).closest(".droe-select").find('.caption');
                caption.html($(this).data("x") + "<i class='caret'></i>");
                console.log(caption);
                console.log($(this).data("x"));
                console.log($(this));
            });
            $(document).click(function(e){
                $(".droe-select .content").hide();
            })
        });
    </script>
</head>
<body>
    <div class="main-wrapper clearfix">
        <div class='droe-select'>
            <div class='caption'>
                Lines
                <i class='caret'></i>
            </div>
            <div class='content'>
                <div class="clearfix tbl">
                    <div class="clearfix row data" data-x="Lines">
                        <div class="col w100 text-center">Clear</div>
                    </div>
                    <div class="clearfix row data" data-x="1">
                        <div class="col w30">1</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="2">
                        <div class="col w30">2</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="3">
                        <div class="col w30">3</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="4">
                        <div class="col w30">4</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="5">
                        <div class="col w30">5</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="6">
                        <div class="col w30">6</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="7">
                        <div class="col w30">7</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="8">
                        <div class="col w30">8</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="9">
                        <div class="col w30">9</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="10">
                        <div class="col w30">10</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="11">
                        <div class="col w30">11</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="12">
                        <div class="col w30">12</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="13">
                        <div class="col w30">13</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                    <div class="clearfix row data" data-x="14">
                        <div class="col w30">14</div>
                        <div class="col w30">001340</div>
                        <div class="col w40">Neki tekst</div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
